#ifndef _SEQUENTIAL_QUEUE_H_
#define _SEQUENTIAL_QUEUE_H_

#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<string.h>
#include "log.h"

typedef struct Sequential_queue{
    int             len;
    int             *data;
    int             font;
    int             rear;
}Sequential_queue_t;

int Sequential_queue_init(Sequential_queue_t ** queue,int len);
int Sequential_queue_enqueue(Sequential_queue_t * queue,int data);
int Sequential_queue_dequeue(Sequential_queue_t * queue,int *data);
int Sequential_queue_select(Sequential_queue_t * queue);
int Sequential_queue_destory(Sequential_queue_t * queue);
#endif